<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>index.html</title>

<meta http-equiv="content-type" content="text/html; charset=UTF-8">


<script type="text/javascript" SRC="/upload/jquery-1.4.2.min.js"></script>
<script type="text/javascript" SRC="/upload/swfobject.js"></script>
<script type="text/javascript"
	SRC="/upload/jquery.uploadify.v2.1.4.min.js"></script>
<link rel="stylesheet" href="/upload/uploadify.css" type="text/css" />
<script type="text/javascript">
    $(document).ready(function(){

      $("#uploadify").uploadify({
          'uploader': '/upload/uploadify.swf',
          'script': '/upload/uploadify.php',
          'cancelImg': '/upload/cancel.png',
          'folder': 'UploadFile',
          'queueID': 'fileQueue',
          'auto': true,
          'onComplete': function (e, queueId, fileObj, response, data) {
         	alert(response);
          },
          'onSelectOnce': function (e, data) {
              $('#uploadify').uploadifySettings('scriptData', { "PHPSESSID": "8a6b1or4pifun3hbl996jke115"});
          } ,
          'multi': true         
          });
      
    });
    </script>
</head>

<body>

	<div id="uploadFileDialog" title="images upload">
		<div id="fileQueue"></div>
		<input type="file" id="uploadify" class="half" value=""
			name="uploadify" />
	</div>
</body>
</html>
